<template>
  <div>
    <van-card v-for='(item,index) in combiantionList' :key=index :num=item.sales tag='开团商品'
              :price="item.price + '/' + item.unitName" :desc=item.info :title=item.title :thumb='imgUrls + item.image'
              :origin-price=item.productPrice>
      <template #footer>
        <van-button size='mini'>立即开团</van-button>
      </template>
    </van-card>
  </div>
</template>
<script>
import { combiantionList } from '@/api/combination.js'

export default {
  data() {
    return {
      combiantionList: [],
      imgUrls: this.$baseApi
    }
  },
  created() {
    this.getList()
  },
  methods: {
    getList() {
      combiantionList().then(res => {
        this.combiantionList = res.data.storeCombinationQueryVos
      })
    }
  }

}

</script>
<style>

</style>
